import java.util.Calendar;

//3：输出今年的国庆节（10.1）是周几
public class Work {
    public static void main(String[] args) {
        Calendar time = Calendar.getInstance();
        time.set(2022, 10 - 1, 1);
        String[] a = {"星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"};
        String week = a[time.get(Calendar.DAY_OF_WEEK) - 1];
        System.out.println("今年国庆节是：" + week);
    }
}